package com.cy.sc.controller;

import com.cy.sc.service.IMsgProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StreamProviderController {
    @Autowired
    private IMsgProvider iMsgProvider;

    @GetMapping("/sendMsg")
    public String sendMsg() {

        return iMsgProvider.send();
    }
}
